.TH std::function::~function 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::function::~function \- std::function::~function

.SH Synopsis
   ~function();  \fI(since C++11)\fP

   Destroys the std::function instance. If the std::function is not empty, its target
   is destroyed also.

.SH See also

   destructor   destroys a std::move_only_function object
   (C++23)      \fI(public member function of std::move_only_function)\fP
